package com.trkj.dao.hjj;

import java.util.List;

import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.CrudRepository;

import com.trkj.pojo.Leaveconfirm;

public interface LeaveconfirmDAO extends CrudRepository<Leaveconfirm, Long> {
	@Query("select l,z,h FROM Leaveconfirm l inner join l.staffInformation z inner join l.holiday h")
	public List<Object[]> findallleaveconf(Pageable p);
}
